<?php
/* @var $this SlideAdminController */
/* @var $model Slide */

$this->breadcrumbs=array(
	'Slides'=>array('index'),
	$model->slide_id,
);

$this->menu=array(
	array('label'=>'Thêm slide', 'url'=>array('create')),
	array('label'=>'Cập nhật', 'url'=>array('update', 'id'=>$model->slide_id)),
	//array('label'=>'Xoá', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->slide_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Quản trị slide', 'url'=>array('admin')),
);
?>

<h1>Chi tiết slide (Mã: <?php echo $model->slide_id; ?>)</h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'slide_id',
		array(
            'name'=>'slide_image',
            'type'=>'raw',
            'value'=>CHtml::image(IMG_SLIDER_FOLDER.$model->slide_image),
        ),
		'slide_url',
	),
)); ?>
